//
//  UIImage+Extend.h
//  SmallElephant
//
//  Created by Faith on 2019/1/7.
//  Copyright © 2019 Faith. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (Extend)

+ (UIImage *)imageWithName:(NSString *)name;

+ (UIImage *)imageWithName:(NSString *)name type:(NSString *)type;

+ (UIImage *)imageFromView:(UIView *)view;

+ (UIImage *)scaleImage:(UIImage *)image byFactor:(CGFloat)scaleFactor;

@end

NS_ASSUME_NONNULL_END
